#MATRIX_INC_PATH=../matrix11/include/

CPPC=g++
WARN_OPTS=-Wall
DBG_OPTS=-ggdb
OPTMZ_OPTS=
DIR_OPTS=-I. -I$(MOOS_INC_PATH) -I$(MATRIX_INC_PATH) -L. -L$(MOOS_LIB_PATH)
COMPILE=$(CPPC) $(DIR_OPTS) $(LNK_OPTS) $(C_OPTS) $(WARN_OPTS) $(DBG_OPTS) $(OPTMZ_OPTS)

all: Rov.cpp Rov.h main.cpp
	$(COMPILE) Rov.cpp Rov.h main.cpp -lpthread -lMOOS -lMOOSGen -o Rov
        
clean:
	rm -fR Rov *.o *~
	
run:
	gnome-terminal --geometry=300x20 --title="Ronilica" -x ./Rov Rov.moos
